// PGLDateTimeNumbering.cpp: implementation of the CPGLDateTimeNumbering class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "include/pgl.h"
#include "include/PGLDateTimeNumbering.h"
#include "include/PGLArchive.h"

#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif



PGL_IMPLEMENT_DYNCREATE(CPGLDateTimeNumbering,CPGLNumbering);

#ifdef _DEBUG
void CPGLDateTimeNumbering::Dump( CDumpContext& dc ) const
{
    // call base class function first
    CPGLNumbering::Dump( dc );

    // now do the stuff for our specific class
	dc << _T("--- CPGLDateTimeNumbering ID ") << GetID() <<_T(" ---\n");
}

void CPGLDateTimeNumbering::AssertValid() const
{
    // call inherited AssertValid first
    CPGLNumbering::AssertValid();
} 
#endif

void CPGLDateTimeNumbering::SerializeXML(CPGLArchive& ar)
{
	static const TCHAR szTag[] = _T("CPGLDateTimeNumbering");

	markup::CMarkupArchive& xml = *((markup::CMarkupArchive*)ar.GetMarkup());
	if(ar.IsStoring())
	{
		xml.AddChildElem(szTag);
		xml.IntoElem();

			/////////////////////////////////////////////////////////
			// Adding base class
			CPGLNumbering::SerializeXML(ar);

		xml.OutOfElem();
	}
	else
	{
		if  (!xml.FindChildElem(szTag))
				return;

		xml.IntoElem();

			/////////////////////////////////////////////////////////
			// loading base class
			CPGLNumbering::SerializeXML(ar);

		xml.OutOfElem();
	}
}

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

CPGLDateTimeNumbering::CPGLDateTimeNumbering()
{

}

CPGLDateTimeNumbering::~CPGLDateTimeNumbering()
{

}

void CPGLDateTimeNumbering::ProcessLimits(double& dStart, double& dEnd, gfxinterface::CGfxInterface& gfx)
{

};

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

CPGLDateTimeNumbering::CPGLDateTimeNumbering()
{

}

CPGLDateTimeNumbering::~CPGLDateTimeNumbering()
{

}
